<?php
    if($_SERVER['HTTP_ORIGIN'] == "http://orion.pardus.at") { header('Access-Control-Allow-Origin: http://orion.pardus.at'); }
    else if($_SERVER['HTTP_ORIGIN'] == "http://artemis.pardus.at") { header('Access-Control-Allow-Origin: http://artemis.pardus.at'); }
    else if($_SERVER['HTTP_ORIGIN'] == "http://pegasus.pardus.at") { header('Access-Control-Allow-Origin: http://pegasus.pardus.at'); }
    else { die('0,Information Not coming from Pardus'); }
    
    echo "<div id='orion'>";
        echo "<div alerts='4' sector='Qumiin' cluster='FSH'>";
            echo "<div xcoord='10' ycoord='9' tileid='309824' pilot='Someone' type='CMBT' alertid='212243' title='AMBUSH: Pilot:Someone -- Ship:MoonCrusher -- Reported:29-Nov-2011'>[10,9] Ambush</div>";
            echo "<div xcoord='9' ycoord='11' type='safe' alertid='212232' title='SAFE: Reported:29-Nov-2011'>[9,11] Safe</div>";
            echo "<div xcoord='7' ycoord='12' pilot='Someone else' type='CMBT' alertid='212241' title='AMBUSH Pilot:Someone else -- Ship:MoonCrusher -- Reported:29-Nov-2011'>[7,12] Ambush</div>";
            echo "<div xcoord='7' ycoord='11' pilot='Zanoni' type='CMBT' alertid='4343' title='COMBAT: Pilot:Zanoni -- Ship:NHD -- Reported:29-Nov-2011'><a href='javascript:SDOshowCombat(4343)'>[7,11] Combat</a></div>";
            echo "<div xcoord='7' ycoord='3' pilot='Firkin Tall' type='HACK' alertid='398' title='HACK: Firkin Tall'><a href='javascript:SDOshowHack(398)'>[7,11] Hack</a></div>";
        echo "</div>";
        echo "<div alerts='2' sector='Sol' cluster='FHC'>";
            echo "<div xcoord='6' ycoord='3' pilot='Zanoni' type='CMBT' alertid='4343' title='COMBAT: Pilot:Zanoni -- Ship:NHD -- Reported:29-Nov-2011'><a href='javascript:SDOshowCombat(4343)'>[6,3] Combat</a></div>";
            echo "<div xcoord='8' ycoord='6' pilot='Firkin Tall' type='HACK' alertid='398' title='HACK: Firkin Tall'><a href='javascript:SDOshowHack(398)'>[8,6] Hack</a></div>";
        echo "</div>";
        echo "<div alerts='1' sector='Cesoho' cluster='FHC'>";
            echo "<div xcoord='6' ycoord='3' pilot='Firkin Tall' type='HACK' alertid='398' title='HACK: Firkin Tall'><a href='javascript:SDOshowHack(398)'>[6,3] Hack</a></div>";
        echo "</div>";
        echo "<div alerts='3' sector='Ras Elased' cluster='PFC'>";
            echo "<div xcoord='21' ycoord='19' pilot='Zanoni' type='CMBT' alertid='4343' title='COMBAT: Pilot:Zanoni -- Ship:NHD -- Reported:29-Nov-2011'><a href='javascript:SDOshowCombat(4343)'>[6,3] Combat</a></div>";
            echo "<div xcoord='22' ycoord='18' pilot='Firkin Tall' type='HACK' alertid='398' title='HACK: Firkin Tall'><a href='javascript:SDOshowHack(398)'>[8,6] Hack</a></div>";
            echo "<div xcoord='19' ycoord='20' type='SAFE' alertid='212232' title='SAFE: Reported:19-Dec-2011'>[9,11] Safe</div>";
        echo "</div>";
    echo "</div>";
?>


